[xend,xenapi] Fix handling of scheduler params
authorKeir Fraser <keir@xensource.com>
Wed, 26 Sep 2007 13:39:56 +0000 (14:39 +0100)
committerKeir Fraser <keir@xensource.com>
Wed, 26 Sep 2007 13:39:56 +0000 (14:39 +0100)
commit4d0cfe8f1ba7cebdbd00be319477038f6025c7c8
treede2460794c6a0c8213b530eeb6954cbeb7e25983
parent1906b3ab6683ce6669d298279211bca575eea2ed
[xend,xenapi] Fix handling of scheduler params

When creating domains that specify scheduler parameters with XenAPI,
the specified parameters are not used when starting the domain. This
patch collapses cpu_weight and cpu_cap in XendConfig into the
vcpus_params dictionary. The patch has been tested using xm and
XenAPI on config with and without scheduler parameters.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomainInfo.py